﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Base.Schema
{
    public class NameAttribute : Attribute
    {
        public NameAttribute(string name)
        {
            _name = name;
        }

        private string _name;
        public string Name
        {
            get
            {
                return _name;
            }
        }
    }

    public class SchemaElementNameAttribute : NameAttribute
    {
        public SchemaElementNameAttribute(string name) : base(name) { }
    }

    public class SchemaPreferenceAttribute : NameAttribute
    {
        public SchemaPreferenceAttribute(string name) : base(name) { }
    }

    public class SchemaCollectionAttribute : NameAttribute
    {
        public SchemaCollectionAttribute(string name) : base(name) { }
    }
}
